import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/product_storage_d_t_o_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/product_storage_d_t_o_entity.g.dart';


@JsonSerializable()
class ProductStorageDTOEntity {

	ProductStorageDTOEntity();

	factory ProductStorageDTOEntity.fromJson(Map<String, dynamic> json) => $ProductStorageDTOEntityFromJson(json);
  /// 存量
	late int inventory = 0;
  ///	产品id
	late String productId = '';
  ///	产品名称
	late String productName = '';
  ///	仓库id
	late String warehouseId = '';

	Map<String, dynamic> toJson() => $ProductStorageDTOEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
